
.#{$prefix}-form-control {
  -webkit-appearance: none;
  background-color: #fff;
  background-image: none;
  border-radius: 4px;
  border: 1px solid #dcdfe6;
  box-sizing: border-box;
  color: #606266;
  display: inline-block;
  height: 30px;
  line-height: 30px;
  outline: none;
  font-size: 12px;
  padding: 0 15px;
  transition: border-color .2s cubic-bezier(.645, .045, .355, 1);
  width: 100%;
  &:hover,&:focus{
    border-color: $primary-color;
  }
  &::-moz-placeholder {
    color: #999;
    opacity: 1;
  }
  &:-ms-input-placeholder {
    color: #999;
  }
  &::-webkit-input-placeholder {
    color: #999;
  }
  &::-ms-expand {
    background-color: transparent;
    border: 0;
  }
  &[readonly],&[readonly="readonly"]{
    opacity: 0.7;
  }
  &[disabled],&[disabled="disabled"]{
    cursor: not-allowed;
    opacity: 0.6;
  }
}

.#{$prefix} {
  &-form-group {
    position: relative;
    line-height: normal;
    display: inline-table;
    width: 100%;
    margin-bottom: 22px;
    font-size: 14px;
    border-collapse: separate;
    &-append {
      .#{$prefix}-form-control {
        vertical-align: middle;
        display: table-cell;
      }
      .#{$prefix}-form-control{
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
      }
    }
    &_append {
      background-color: #f5f7fa;
      color: #909399;
      vertical-align: middle;
      display: table-cell;
      position: relative;
      border: 1px solid #dcdfe6;
      border-radius: 4px;
      padding: 0 20px;
      width: 1px;
      white-space: nowrap;
    }
    &_append {
      border-left: 0;
    }
    &_append{
      border-top-left-radius: 0;
      border-bottom-left-radius: 0;
    }
    .#{$prefix}-form-control{
      //border-top-right-radius: 0;
      //border-bottom-right-radius: 0;
    }
    &-prefix{
      .el-form-control{
        padding-left: 32px;
      }
      .el-form__prefix{
        position: absolute;
        left: 0;
        top: 1px;
        height: 28px;
        line-height: 28px;
        background-color: transparent;
        width: 32px;
        text-align: center;
      }
    }
  }

}